import { NgModule } from '@angular/core';
import { RouterModule } from '@angular/router';
import { Route } from '@angular/router';
import { TaskworkingComponent } from './taskworking/taskworking.component';
import { WorkingdicComponent } from './groupworkingdic/workingdic.component';
import { UserworkingComponent } from './userworking/userworking.component';




@NgModule({
    imports: [
        RouterModule.forChild([
            {
                path: '',
                children: [
                    { path: 'taskworking', component: TaskworkingComponent, data: { permission: 'Mes58.Pages.Workingtime.Taskworking' } },
                    { path: 'workingdic', component: WorkingdicComponent, data: { permission: '' } },
                    { path: 'userworking', component: UserworkingComponent, data: { permission:  'Mes58.Pages.Workingtime.Userworking' } },
                ]
            }
        ])
    ],
    exports: [
        RouterModule
    ]
})
export class WorkingtimeRoutingModule { }
